<template>
	<view>
		<view class="work-bench-bar">
			<view class="container">
				<view class="right-btn-bar">
					<text @tap="addArchives">+</text>
				</view>
				<view class="select-bar">
					<text>添加案卷</text>
				</view>
			</view>
		</view>
		<view class="space"></view>
	</view>
</template>

<script>
	export default {
		methods: {
			addArchives() {
				// uni.$emit('addArchives', {
				// 	show: true
				// })
			}
		}
	}
</script>

<style lang="scss">
	.work-bench-bar {
		height: 100upx;
		padding: 10upx 12upx;
		box-sizing: border-box;
		position: fixed;
		width: 750upx;
		z-index: 99;
		background: #fff;
		box-shadow: 0 2px 3px #888888;

		.select-bar {
			width: 500upx;
			margin: 0 auto;
			text-align: center;
		}
	}

	.container {
		height: 80upx;
		display: flex;
		justify-content: space-between;
		align-items: center;
		color: #333;
		font-size: 30upx;
	}


	.right-btn-bar {
		font-size: 60rpx;
		position: absolute;
		left: 10upx;
	}

	.select-bar {
		font-size: 40upx;
	}

	.select-name {
		margin-right: 10upx;
	}

	.space {
		height: 100upx;
	}
</style>
